package com.kgc.cgprovider.dao;

import com.kgc.cgapi.pojo.*;

import java.util.List;
import java.util.Map;

public interface CGBJDao {

    List<CGBJPojo> getCGBJPage(Map<String, Object> map);

    int addCGBJ(Map<String, Object> map);
    int addCGBJInfo(Map<String, Object> map);

    CGBJPojo getCGBJ(String code);
    List<CGBJInfo>  getCGBJInfo(String code);

    int modiCGBJ(Map<String,Object> map);
    int delCGBJInfo(String major_code);

    List<String> getCGBJCode(Map<String,Object> map);

    List<CGBJInfo> getCGXBJInfoByProId(Map<String,Object> map);

    int closeCGBJByCGXJ(String xjCode);

}
